home *** CD-ROM | disk | FTP | other *** search
/ Club KidSoft Volume 3 #1 / ClubKidsoft.iso / movies / clubroom.dir / 00004_Script_Import Links < prev    next >
Text File  |  1995-02-06  |  869b  |  23 lines

  1. on FinalImport
  2.   -- Utility handler that can be used as the last 
  3.   -- stage in production, to bring all linked media
  4.   -- into the Director movie itself.
  5.   -- Here we assume we're hst doing graphics.
  6.   
  7.   repeat with i =250 to   the number of castmembers
  8.     if the fileName of cast i <> "" then
  9.       if the castType of cast i = #bitmap then
  10.         set myName = the name of cast i
  11.         set myScript = the scriptText of cast i
  12.         set myReg = the regPoint of cast i
  13.         set myPal = the palette of cast i
  14.         importFileInto Cast i, the fileName of cast i
  15.         set the name of cast i = myName
  16.         set the scriptText of cast i = myScript
  17.         set the regPoint of cast i = myReg
  18.         set the palette of cast i = myPal
  19.         put "imported cast number " & i && myName
  20.       end if
  21.     end if
  22.   end repeat
  23. end FilnalImport